import request from '@/utils/request'

// 查询钱包订单列表
export function listWallet_order(query) {
    return request({
        url: '/wallet/wallet_order/list',
        method: 'get',
        params: query
    })
}

// 查询钱包订单详细
export function getWallet_order(id) {
    return request({
        url: '/wallet/wallet_order/' + id,
        method: 'get'
    })
}

// 新增钱包订单
export function addWallet_order(data) {
    return request({
        url: '/wallet/wallet_order',
        method: 'post',
        data: data
    })
}

// 修改钱包订单
export function updateWallet_order(data) {
    return request({
        url: '/wallet/wallet_order',
        method: 'put',
        data: data
    })
}

// 删除钱包订单
export function delWallet_order(id) {
    return request({
        url: '/wallet/wallet_order/' + id,
        method: 'delete'
    })
}

// 导出钱包订单
export function exportWallet_order(query) {
    return request({
        url: '/wallet/wallet_order/export',
        method: 'get',
        params: query
    })
}